package com.bst.bsj.bops;

import java.util.HashSet;
import java.util.Set;

public class BopsConstants {

  /**
   * 登录方式集合
   */
  public static final Set<Integer> LOGIN_TYPE_SETS = new HashSet<Integer>() {

    {
      add(LOGIN_TYPE_USERNAME);
      add(LOGIN_TYPE_MOBILE);
      add(LOGIN_TYPE_EMAIL);
      add(LOGIN_TYPE_MESSAGE);
    }
  };

  /**
   * 用户名 ＋ 密码登录
   */
  public static final int LOGIN_TYPE_USERNAME = 1;

  /**
   * 手机 ＋ 密码登录
   */
  public static final int LOGIN_TYPE_MOBILE = 2;

  /**
   * 邮箱 ＋ 密码登录
   */
  public static final int LOGIN_TYPE_EMAIL = 3;

  /**
   * 手机短信登录
   */
  public static final int LOGIN_TYPE_MESSAGE = 4;

  /**
   * 后台子系统
   */
  public static final String SUB_SYSTEM = "bops";

  public static final String IMG_MANAGER_PRE_URL = "pc/";

  public static final String IMG_MANAGER_PRE_ROOT_URL = "/" + IMG_MANAGER_PRE_URL;

}
